﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mfCustCart.aspx.cs"
    Inherits="msBsc.WebUi.mfCustCart" %>
    
<!DOCTYPE HTML>
<html>
<head> 
    <title>手机优速购商城</title>
    <%=getMeta()%>
    <link rel="stylesheet" type="text/css" href="/themes/mStyle1/mGlobal.css" charset="gbk" /> 
    <%=getBodyBeforeJs()%> 
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jmPage.js,themes/Style1/jsQt.js,jqPlugin/js/laytpl.js"
        type="text/javascript"></script>
    <script type="text/javascript">
        $(window).load(function () {
        });
//        $(window).bind('resize', function () { _self._ResizeHandler(_self); })
//        .bind('scroll', function () { _self._ResizeHandler(_self); });
    </script>
    <!--head fix rgn-->
    <style type="text/css">   
         
    </style>
    <base target="_self"/>
</head>
<body>



<div class="viewport">
<%=omQtHtmlGet.GetHeaderTopHtml(true, false)%>   
   
                <div id="divlistshow" class="mui-mbar-plugin  mui-mbar-plugin-cart" style="height: 100%; z-index: 999999; top: 0px; visibility: visible;">

        
                    <div class="mui-mbar-plugin-hd" style="">
                        <a target="_self" href="javascript:void(0);" class="mui-mbar-plugin-hd-title mui-mbar-plugin-hd-title-txt">
                            购物车</a>
                        <div class="mui-mbar-plugin-hd-tip">
                        </div>
                        <div class="mui-mbar-plugin-cover">
                        </div>
                        <div class="mui-mbar-plugin-hd-close mui-mbar-iconfont">
                            </div>
                    </div>
                    <div class="mui-mbar-plugin-bd" style="height: 100%;display:block;"> 
   <div class="mui-mbarp-cart-wrap" style="height: 100%;display:block;">
    <div id="J_MBarMiniCart" class="mui-mbarp-cart-bd tm-mCart tm-mcTooManyChecked tm-mcWeaken tm-mcCheckedShow" style="height: 100%;display:block;">
        <div class="tm-mcRoot" style="height: 100%;display:block;">
            <div class="tm-mcListBox" style="padding-bottom: 6px; display: block; height:100%;">
                <div class="tm-mcListInner">
                    <div class="tm-mcList">
                        <div class="tm-mcTop">
                             <div class="tm-mcChk">
                                    <input id="tmcElectCart" type="checkbox"  data-tmc="elect" class="tm-mcElectCart"></div>
                            <label for="tmcElectCart">
                                全选</label></div>
        <textarea id="cart_list_temp" style="display: none;">  
                        {{#for(var i=0,len=d.rows.length;i < len;i++){}}
                            <div class="tm-mcBundle tm-mcBundleC" dealer-id="{{d.rows[i].COMM_TENANT_ID}}" >
                                <div class="tm-mcBundleHeader" style="border-bottom: 1px solid #e6e6e6;">
                                    <div class="tm-mcChk">
                                        <input class="tm-mcElectBundle" type="checkbox" data-tmc="elect" ></div>
                                    <div class="tm-mcTitle">
                                        <span title="{{d.rows[i].COMM_TENANT_NME}}">{{d.rows[i].COMM_TENANT_NME}}</span></div>
                                    <div class="tm-mcCost">
                                        ￥<strong class="tm-mcPrice">0.00</strong></div>
                                </div>
                                <div class="tm-mcBundleList">
                                    <div  class="tm-mcMainOne">
                                        <div class="tm-mcMainHead">
                                        </div>
                                        <div class="tm-mcMainList">
                                        {{#for(var r=0,lenr=d.rows[i].rows.length;r < lenr;r++){}}
                                            <div  class="tm-mcOrder tm-mcOrderOne tm-mcOrderActive"
                                                order-id="{{d.rows[i].rows[r].CART_ORDER_ID}}" order-price="{{d.rows[i].rows[r].GOODS_STRIKE_PRICE}}" style=" position:relative;left: 0px; top: 0px;display: block;  ">
                                                <div class="tm-mcChk" style=" position:absolute;left:0px; bottom:50%;width:30px; min-width:30px;float:none; padding-left:10px; z-index:111;">
                                                
                                                    <input class="tm-mcElect" data-tmc="elect" type="checkbox" ></div>
                                                
                                                <div class="tm-mcItem" style=" position:relative;left:0px;top:0px;width:32%;  padding-left:30px;  padding-bottom:5px; padding-top:5px; margin:0px;">
                                                    <a   href="/mp_GoodsView.htm?ID={{d.rows[i].rows[r].GOODS_ID}}" title="{{d.rows[i].rows[r].GOODS_NME}}"
                                                        target="_self">
                                                        <img height="auto" src="{{d.rows[i].rows[r].IMG_URL}}" style="min-height:60px;min-width:60px; width:100%;height:auto; "></a>
                                                        </div>
                                                <div style=" position:relative;left:0px;top:0px;width:100%;  padding-right:0px;margin:0px;">
                                                <div style=" position:relative; margin-bottom:5px;" order-id="{{d.rows[i].rows[r].CART_ORDER_ID}}">
                                                <div style=" display:inline-block;width:100px; position:relative;"> <span style="float:left; margin-top:4px;">￥</span><strong  class="tm-mcPrice"  style="float:left;">{{d.rows[i].rows[r].SHOP_AMT}}</strong></div>
                                                 <div class="tm-mcAmount" style=" position:absolute;right:0px; top:0px;width:70px; min-width:70px;float:none; margin-right:56px; margin-top:0px;">
                                                    <a href="javascript:void(0)" class="tm-mcMinus" hidefocus="true" style=" margin-top:0px;"><s></s>
                                                    </a><span class="tm-mcQuantity" max-qty="{{d.rows[i].rows[r].SHOP_GOODS_QTY}}" style=" margin-top:0px;">{{d.rows[i].rows[r].GOODS_QTY}}</span><a href="javascript:void(0)" class="tm-mcPlus"
                                                        hidefocus="true" style=" margin-top:0px;"><s></s><b></b></a></div>
                                                        
                                                <div class="  tm-mcDel" style=" position:absolute;right:3px;top:3px;  width:16px;height:16px; z-index:9999;  float:none;   ">
                                                    <a href="javascript:void(0)"   title="删除" data-tmc="del"></a>  
                                                    </div>

                                                </div>


                                                 

                                                <div class="tm-mcSku"  style="float:none; position:relative; padding-top:2px;  color:#999; width:auto;">
                                                    <p title="{{d.rows[i].rows[r].GOODS_NME}}">
                                                    <a   href="/mp_GoodsView.htm?ID={{d.rows[i].rows[r].GOODS_ID}}" title="{{d.rows[i].rows[r].GOODS_NME}}"
                                                        target="_self">
                                                        {{d.rows[i].rows[r].GOODS_NME}}</a></p> 
                                                </div>
                                                <div  class="tm-mcSku"  style="float:none; position:relative;color:#999; padding-top:2px;width:auto;">
                                                    <p title="{{d.rows[i].rows[r].NORMS_DESC}}">
                                                        {{d.rows[i].rows[r].NORMS_DESC}}</p>
                                                </div>
                                                </div>
                                               
                                            </div>
                                        {{#}}} 
                                        </div>
                                    </div>
                                </div>
                            </div>
                        {{#}}}
        </textarea> 
                    </div>
                </div>
                <div class="tm-mcLoading" style="display: none;">
                </div>
                <div class="tm-mcMask">
                </div>
            </div>
            <div style=" margin-top:6px;">
            <div class="tm-mcHandler" style=" position:static; bottom:0px; z-index:9999;" id="divcarstatic"> 
                <div class="tm-mcCashier-wrap" >
                    <div class="tm-mcTotal clearfix">
                        <h3>
                            <span class="tm-e1">购物车</span><span class="tm-e2">已选</span><strong class="tm-mcCartNumTotal">0</strong><strong
                                class="tm-mcCheckedNum">0</strong><span class="tm-e2">件</span></h3>
                        <span class="tm-mcTotalFeeWrap"><span class="tm-mcRmb">￥</span><strong class="tm-mcTotalFee">0.00</strong></span></div>
                    <div class="tm-mcCashier" data-tmc="go">
                        <div class="tm-mcGo">
                            结 算<s></s></div>
                    </div>
                </div>
            </div>
            </div>
        </div>
    </div>
</div>


                    </div>

                </div>
        
    <link rel="stylesheet" href="/themes/mStyle1/mycart.css" />
        
    <script src="/themes/mStyle1/mycart.js" type="text/javascript"></script>
            <script type="text/javascript">
//                var tpl = HtmlUtil.htmlDecode($('#cart_list_temp').html());
//                jQuery.loadHtml('/pgajax.axd?GETCART_DATA=1').done(function (_rets) {
//                    if (!_rets) { $(".cart-sum-txt").html('0'); return; }
//                    laytpl(tpl).render($.parseJSON(_rets), function (render) {
//                        $('#cart_list_temp').after(render).remove();
//                        debugger;
//                        jQuery.pageRbar._initPrbar();
//                    });
//                });
                 
            </script>

    		        	</div>
						 
</body>
<%=getBodyAfterJs() %>
</html>  


 